package com.lzx.lizhenxing.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lzx.lizhenxing.common.entity.CommonEntity;
import lombok.Data;

import java.util.Date;

/**
 * 用户订单表(UserOrder)实体类
 *
 */
@Data
@TableName("user_order")
public class UserOrderModel extends CommonEntity {

    /**
     * 订单编号
     */
    @TableField("order_no")
    private String orderNo;

    /**
     * 这是谁的快递
     */
    @TableField("uid")
    private Long uid;

    /**
     * 代取地点
     */
    @TableField("pickup_address")
    private String pickupAddress;
    /**
     * 配送时间
     */
    @TableField("delivery_time")
    private Date deliveryTime;
    /**
     * 配送地点
     */
    @TableField("delivery_address")
    private String deliveryAddress;
    /**
     * 订单状态（未支付0、配送中1、已完成2）
     */
    @TableField("status")
    private Integer status;
    /**
     * 配送员表主键
     */
    @TableField("delivery_person_id")
    private Long deliveryPersonId;
    /**
     * 该平台的快递表主键
     */
    @TableField("express_delivery_id")
    private Long expressDeliveryId;
    /**
     * 收货人姓名
     */
    @TableField("recipient")
    private String recipient;
    /**
     * 收货人电话
     */
    @TableField("recipient_phone")
    private String recipientPhone;
    /**
     * 0 支付宝支付，1积分支付
     */
    private Integer payType;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

}

